{extend name="admin@index_layout"/}
{block name="main"}
<form class="layui-form" method="post">
    <table class="layui-table">
        <thead>
        <tr>
            <th width="100">序列</th>
            <th width="100">图片</th>
            <th width="100">名称</th>
            <th width="100">价格</th>
            <th width="100">属性</th>
            <th width="100">数量</th>
        </tr>
        </thead>
        <tbody>
        {volist name="goods_list" id="vo" }
        <tr>
            <td>{$key+1}</td>
            <td><img src="{$vo.goods_info.first_img}"></td>
            <td>{$vo.goods_info.name}</td>
            <td>¥{$vo.price}</td>
            <td>{$vo.suk}</td>
            <td>{$vo.num}</td>
        </tr>
        {/volist}
        </tbody>
    </table>

<!--    <div class="layui-form-item layer-footer">-->
<!--        <div class="layui-input-block">-->
<!--            <button class="layui-btn" lay-submit>确认</button>-->
<!--            <button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
<!--        </div>-->
<!--    </div>-->
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use('yznForm', function () {
        var yznForm = layui.yznForm;
        yznForm.bindevent($("form.layui-form"));
    });
</script>
{/block}